package org.tuoren.official.domain.bo;

import org.tuoren.common.core.validate.AddGroup;
import org.tuoren.common.core.validate.EditGroup;
import org.tuoren.official.domain.Founder;
import org.tuoren.common.mybatis.core.domain.BaseEntity;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 创始人信息业务对象 t_founder
 *
 * @author wl
 * @date 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Founder.class, reverseConvertGenerate = false)
public class FounderBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 签名图片
     */
    @NotBlank(message = "签名图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String signUrl;

    /**
     * 创始人图片
     */
    @NotBlank(message = "创始人图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String photoUrl;
    /**
     * 移动端创始人图片
     */
    @NotBlank(message = "移动端创始人图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String appPhotoUrl;

    /**
     * 荣誉（富文本）
     */
    @NotBlank(message = "荣誉（富文本）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String honorDesc;

    /**
     * 简述（富文本）
     */
    @NotBlank(message = "简述（富文本）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String hDesc;


}
